package com.liu.voluntary.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.liu.voluntary.pojo.Admin;
import com.liu.voluntary.vo.RespBean;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface AdminService extends IService<Admin> {


    //管理员登录

     RespBean login(String mobile, String password, HttpServletRequest request, HttpServletResponse response);


     //管理员注册
    public RespBean register(String mobile, String password, HttpServletRequest request, HttpServletResponse response);


    Admin getAdminInRedis(String adminTicket, HttpServletRequest request, HttpServletResponse response);
    }
